﻿using HalconDotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MachineVision.Shared.Controls
{
    public enum ShapeType
    {
        Rectangle,
        Ellipse,
        Circle,
        Region
    }

    //绘制的图像对象
    public class DrawingObjectInfo
    {
        //图像的类型(圆形、矩形、椭圆)
        public ShapeType ShapeType {  get; set; }
        //图像的数据
        public HTuple[] HTuples { get; set; }
        //HObject看作是一个容器，它可以根据需要持有各种HALCON操作返回的结果。
        public HObject HObject { get; set; }
    }
}
